package com.alawn.web.anon;

import org.ocpsoft.rewrite.annotation.Join;
import org.springframework.stereotype.Controller;

import com.alawn.framework.core.web.faces.controller.FacesController;
import com.alawn.framework.services.system.Preference;

@Controller("/index.faces")
@Join(path = "/index", to = "/index.faces")
public class IndexController extends FacesController {

//	@Autowired
//	private ResourceService resourceService;

	@Override
	public void initPage() {
		putSessionScope("guestPreferences", new Preference());
		putSessionScope("guestMenus", null);
	}

}
